#include<stdio.h>
#include<assert.h>
char* my_strcpy(char* arr2, const char* arr1)
{
	assert(arr1 && arr2);
	char* ret = arr2;
	while (*arr1 != '\0')
	{
		*arr2 = *arr1;
		arr1++;
		arr2++;
	}
	*arr2 = *arr1;
	return ret;
}
int main()
{
	char arr1[] = "abcdef";
	char arr2[20] = { 0 };
	my_strcpy(arr2, arr1);
	printf("%s", arr2);
	return 0;
}